package com.nestease.qa.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zoudongdong
 * @date 2018/3/3
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TestCase {
    private int caseId;//用例id
    private int teamId;//用例所属组
    private int projectId;//用户所属项目
    private String url;//请求链接
    private String requestType;//http请求类型,get、post等
    private String headerKeys;//请求头参数名,用","分隔
    private String headerValues;//请求头参数值,用","分隔
    //requestType为get时
    private String paramKeys;//请求参数参数名,用","分隔
    private String paramValues;//请求参数参数值,用","分隔
    //requestType为post时
    private String paramRaw;
    private String jsonPathCheckPoint;//响应json数据,jsonPath检查点,用&&分隔
    private String creator;
    private String lastEditor;
    private long createTime;
    private long updateTime;
    private int status;//用例状态
}
